package com.macro.mall.portal.service;


import com.macro.mall.dto.BmsMuseumTeamDetail;
import com.macro.mall.dto.BmsMuseumTeamParam;
import com.macro.mall.model.BmsMuseumTeam;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

public interface BmsMuseumTeamService {

    /**
     * 分页获取文博项目-报名详情
     */
    List<BmsMuseumTeam> getList(BmsMuseumTeamParam bmsMuseumTeamParam);

    /**
     * 获取单个文博项目-报名详情
     */
    BmsMuseumTeamDetail getItem(Long id);

    /**
     * 查询团队模板下载url
     */
    String getTemplateUrl();

    /**
     * 根据团队模板文件保存团队预约数据
     * @author WangShanxi
     * @date 2024/8/19
     * @param bmsMuseumTeam
     * @param file
     * @return
    */
    int uploadMuseumTeamByFile(BmsMuseumTeam bmsMuseumTeam, MultipartFile file)throws Exception;

}
